package cn.luowb.checkchat.service;

import cn.luowb.checkchat.dao.entity.UserDO;
import cn.luowb.checkchat.dto.req.UserLoginRequest;
import cn.luowb.checkchat.dto.req.UserRegisterRequest;
import cn.luowb.checkchat.dto.req.UserUpdateRequest;
import cn.luowb.checkchat.dto.resp.UserRespDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author heimenkyou
 * @description 针对表【user(用户)】的数据库操作Service
 * @createDate 2025-09-01 19:07:09
 */
public interface UserService extends IService<UserDO> {


    /**
     * 用户注册
     */
    UserDO register(UserRegisterRequest request);

    /**
     * 用户登录
     */
    UserDO verifyLogin(UserLoginRequest request);
//    LoginResponse login(UserLoginRequest request);

    /**
     * 获取用户信息
     */
    UserDO getUserInfo(Long uid);

    /**
     * 更新用户信息
     */
    void updateUserInfo(Long uid, UserUpdateRequest request);


}



